import jxRequest from '../request'
export default {
    getCtcategory: data => jxRequest.get('/api/product/getCtcategory', data), //获取分类
    getCartoons: data => jxRequest.get('/api/product/getCartoonList', data), //获取漫画
    cartoonDetail: data => jxRequest.get('/api/product/getCartoonDetail', data), //获取漫画详情
    getChapter: data => jxRequest.get('/api/cartoon/getChapterList', data), //获取章节
    getChapterPage: data => jxRequest.get('/api/cartoon/getChapterPage', data), //获取章节内容
    queryCartoon: data => jxRequest.get('/api/product/queryCartoon', data), //模糊搜索
    historicalRecord: data => jxRequest.get('/api/cartoon/historicalRecord', data), //历史记录
    addRead: data => jxRequest.post('/api/chapter/read/add/', data), //添加阅读记录
    novelDetail: data => jxRequest.get('/api/novel/getCartoonDetail', data), //获取小说详情
    getNovelChapter: data => jxRequest.get('/api/novel/getChapterList', data), //获取章节
    getNovelChapterPage: data => jxRequest.get('/api/novel/getNovelPage', data), //获取章节内容
}